home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 11 / Amiga Plus 11: Amiga Future.iso / demoversionen / anwendungen / wildfire / --please-test-it! / yp_beta1 / yp_beta1.txt < prev    next >
Text File  |  1997-08-28  |  3KB  |  61 lines

  1.  
  2.  
  3.  
  4. YP V0.98_BETA_1 (Wed 27-Aug-97) by Smack/Infect!
  5.  
  6.  
  7. WARNING:
  8.  
  9. This YP version is my very first try to support CyberGfx.
  10. I don't have a CyberGfx system here so YOU are going to run virginal
  11. code! This fact is actually very unpleasant to me since there could be
  12. some obvious bugs which have had no chance to show up yet.
  13.  
  14.  
  15. BUGREPORTS:
  16.  
  17. Please report any bugs (or what you might think that doesn't work right),
  18. but please don't write "Hey, your program crashes!" or something like that.
  19. Explain extactly what hardware, software and what kind of YAFA anim you
  20. used, and if possible send me some debugging output from YP itself and
  21. maybe from some other tools like Enforcer, Mungwall etc.
  22. I'm afraid this kind of "remote debugging" is going to be very nasty
  23. but I have no other chance. :-(
  24. Send bugreports to:
  25.  epgbd@cluster.urz.uni-halle.de  (attended about twice per week)
  26.  
  27.  
  28. USAGE:
  29.  
  30. The new feature in this YP version is the explicit CyberGfx support.
  31. YP should now also run on non-AGA systems with CyberGfx installed.
  32. It works like this:
  33.  -you need a Public Screen in a TrueColor CyberGfx screenmode
  34.   (15, 16 or 24 bits deep). I guess 24 bits will be the fastest but
  35.   you have to test this for yourself.
  36.  -start YP in "pubscreen-window" mode like this:
  37.    "yp_beta -ps XYZ test.yafa"
  38.   (XYZ is the name of the above mentioned Public Screen; if the name is not
  39.   correct then YP uses the Default Public Screen - usually Workbench)
  40. YAFA anims with PLANAR frames are currently NOT SUPPORTED in this mode!!
  41. Please tell me if this works as I think it should do, and also tell me
  42. about the playback speed so that I can see if all this work is really
  43. worth it...
  44.  
  45.  
  46. TECH STUFF:
  47.  
  48. After reading some CyberGfx doc files I decided to use WritePixelArray()
  49. which is also used in some example code I found. Since YAFA anims can
  50. have a depth of 1-8, HAM6, HAM8, 15 or 24 bits I wrote some ASM routines
  51. that convert all these different YAFA pixel formats to 24 bits RGB.
  52. Maybe there is some other more elegant way to do this but I don't know it.
  53. WritePixelArray() can write only to TrueColor RastPorts when the input is
  54. RECTFMT_RGB, so YP requires a deep screen for the window. The advantage
  55. of this method is that the missing double buffering should be nearly
  56. invisible, even with YAFA anims that have palette-per-frame. The major
  57. disadvantage is probably speed...
  58. The timing is now done with CIA-A timer A (Level2 IRQ) because I read
  59. that VBlank IRQ doesn't work with CyberGfx. The base frequency of the timer
  60. is 50Hz so the playback speed is like on a PAL screen.
  61.